package entity;

public class Xinwen {
    private int id;
    private String name;
    private  String link;
    public Xinwen(int id,String name,String link){
        this.name=name;
        this.link=link;
        this.id=id;
    }
    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLink() {
        return link;
    }

    public void setLink(String link) {
        this.link = link;
    }
    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }
}
